<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:composite="http://java.sun.com/jsf/composite">

<composite:interface>
	<!-- 		<composite:attribute name="userLabel" default="#{msgs['cmp.login.label.user']}" /> -->
	<!-- 		<composite:attribute name="passwordLabel" default="#{msgs['cmp.login.label.password']}" /> -->
	<!-- 		<composite:attribute name="submitLabel" default="#{msgs['cmp.login.label.submit']}" /> -->
	<!-- 		<composite:attribute name="customClass" default="" /> -->
	<!-- 		<composite:attribute name="actionMethod" method-signature="java.lang.String action()" /> -->
	<!-- 		<composite:facet name="errorMessage"/> -->
</composite:interface>

<composite:implementation>
	<h1 class="app-box-title">Autentificare</h1>
	<ui:fragment rendered="${not empty param.login_error}">
		<font color="red"> Username sau Password gre&#351;it, mai
			&#238;ncearca&#355;i.<br />
		</font>
	</ui:fragment>
	<form action="j_spring_security_check" method="post">
		<table width="auto">
			<tr>
				<td><label for="j_username">Nume utilizator:</label></td>
			</tr>
			<tr>
				<td colspan="2"><input class="required" size="50"
					id="j_username" name="j_username" type="text" /></td>
			</tr>
			<tr>
				<td><label for="j_password">Parola:</label></td>
			</tr>
			<tr>
				<td><input class="required" size="50" id="j_password"
					name="j_password" type="password" /></td>
			</tr>
			<tr>
				<td><input type="submit" value="Conecta&#355;i-v&#259;" />
					&#160;&#160;&#160;&#160;&#160; <input type='checkbox'
					name='_spring_security_remember_me'
					id="_spring_security_remember_me" tabindex="3" value="true" /><span
					class="check-box-label" onclick="javascript:$(this).prev().click()">Remember
						me</span></td>
			</tr>
			<tr>
				<td>&#160;<a href="Reset" title="Password remember">A-ti
						uitat parola?</a>
				</td>
			</tr>
		</table>
	</form>
</composite:implementation>
</html>